package com.xz.demo.builder;

import com.xz.demo.model.Product;

/**
 * @author 张志航     
 * @version V1.0.0
 * @projectName design_mode
 * @title     Builder   
 * @package    com.xz.demo.builder  
 * @date   2019/11/27 18:29  
 * @explain
 */
public abstract class Builder {

    protected Product product = new Product();

    public abstract void buildPartA();
    public abstract void buildPartB();
    public abstract void buildPartC();

    public Product getResult(){

        return product;
    }

}
